using System;
using System.Collections;

namespace Ankin.EHBH.Model
{
    public class ModelSearch
    {

        private string _stockid;
        private Hashtable _hashtable;

        public ModelSearch()
        {
            _hashtable = new System.Collections.Hashtable();
        }

        #region Model
        public string STOCK_ID
        {
            set { _stockid = value; }
            get { return _stockid; }
        }


        public void addValue(string strName, string strValue)
        {

            _hashtable.Add(strName, strValue);
        }

        public string getValue(string strName)
        {
            if (_hashtable.Contains(strName))
            {
                return _hashtable[strName].ToString();
            }
            else
            {
                return null;
            }
        }

        #endregion Model

    }
}
